package com.ouc.yyi.springcloudlba;

import com.ouc.yyi.springcloudlba.config.LoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;

@SpringBootApplication
@LoadBalancerClient(name = "PAYMENT-SERVER", configuration = LoadBalancerConfig.class)
public class SpringCloudLbaApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudLbaApplication.class, args);
    }

}
